﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="groupIndex.aspx.cs" Inherits="groupIndex" %>

<%@ Register Src="headerWithText.ascx" TagPrefix="wepj" TagName="headerWithText" %>
<%@ Register Src="footer.ascx" TagPrefix="wepj" TagName="footer" %>
<%@ Register Src="~/NoPasswordProtectionNotification.ascx" TagPrefix="wepj" TagName="NoPasswordProtectionNotification" %>

<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8">
    <title><%=Request.QueryString["groupName"] %> [ <%=Request.Cookies["username"].Value %> ] - We Easy Project</title>
    <link rel="stylesheet" href="css/header.css">
    <link rel="stylesheet" href="css/groupIndex.css">
    <link rel="stylesheet" href="css/footer.css">
    <link rel="stylesheet" href="css/sidebar.css">
    <script src="js/jquery-1.9.1.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/feedsmanipulate.js"></script>
    <style>
        #footer {
            margin-top: 100px;
        }
    </style>
</head>
<body>
    <wepj:headerWithText runat="server" />
    <wepj:NoPasswordProtectionNotification runat="server" />
    <div id="sidebar">
        <div id="current_group">
            <p>您所在的小组：<br>&emsp;<%=Request.QueryString["groupName"] %></p>
        </div>
        <div id="memorial">
            <p>查看您的备忘录：</p>
            <p>&emsp;<a href="Calendar.aspx">>>>进入备忘录（日程表）<<<</a></p>
        </div>
        <div id="filespace">
            <p>查看您与该小组的文件：</p>
            <p>&emsp;<a href="fileStorage.aspx">>>>进入文件空间<<<</a></p>
        </div>
        <div id="back_to_welcome">
            <p>返回欢迎页面：</p>
            <p>&emsp;<a href="welcome.aspx">返回</a></p>
        </div>
    </div>
    <div id="main">
        <iframe id="billboard" src="groupIndex_Billboard.aspx?groupID=<%=Request.QueryString["groupID"] %>" width="320" height="180"></iframe>
        
        <div id="image_next_billboard">
            <img src="images/communication.jpg" alt="Communication is very important in your team!">
        </div>
        <!--Via Ajax NO SERVER CONTROL-->
        <div id="feeds_module">
            <p id="feeds_title">>>组员动态<<</p>
            <label for="postfeed" hidden="hidden"></label>
            <textarea id="postfeed" name="postfeed"></textarea>
            <p>
                <div id="div_of_refresh">
                    <a id="feeds_refresh" href="javascript:loadfeeds();">刷新</a>
                </div>
                <a id="feeds_post" href="javascript:postfeed();">发布动态</a>
            </p>
            <div class="feeds" id="feeds">
                
            </div>
        </div>
    </div>
    <wepj:footer runat="server" />
</body>
</html>